import React from 'react';
import ReactDOM from 'react-dom/client';
import { ConfigProvider } from 'antd';
import locale from 'antd/locale/zh_CN';
import './index.css';
import App from './App';
import reportWebVitals from './reportWebVitals';
import { Provider } from 'react-redux'
import store from './store'
import './api/mock'
const root = ReactDOM.createRoot(document.getElementById('root'));
root.render(
  <React.StrictMode>
      <ConfigProvider locale={locale}>
          <Provider store={store}>
              <App />
          </Provider>
      </ConfigProvider>
  </React.StrictMode>
);
reportWebVitals();
